import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;


public class Bubble {
	
	private static final float STARTING_MASS = 5f;
	private static final float STARTING_SPEED = 1f;
	private static final int START_X = 50;
	private static final int START_Y = 200;
	
	private float mass = STARTING_MASS;
	private Image image_bubble = null;
	
	private float ySpeed = STARTING_SPEED;
	private int xPos = START_X, yPos = START_Y;

	public Bubble() throws SlickException{
		image_bubble = new Image("assets/gameplay/bubble.png").getScaledCopy(0.1f);
	}
	
	public void render(){
		image_bubble.draw(xPos, yPos);
	}

	public void moveBubble(int yIncrement){
		this.yPos += yIncrement;
	}
	
	
	public float getMass() {
		return mass;
	}

	public void setMass(float mass) {
		this.mass = mass;
	}

	public int getXPos() {
		return xPos;
	}

	public void setXPos(int xpos) {
		xPos = xpos;
	}

	public int getYPos() {
		return xPos;
	}

	public void setYPos(int ypos) {
		xPos = ypos;
	}

}
